<?php

namespace Home\Core;

class VmsSDK
{
    const KEY = 12;
    const BASE = HTTP_URL;
    const LOGIN = 301;
    const Change = 303;
    const AddVodSvr = 304;
    const ModifyVodSvr = 305;
    const VodSvrList = 307;
    const DelSvr = 306;
    const DevList = 308;
    const DevVideo = 309;
    const DevOne = 310;
    const UserList = 400;
    const UserAdd = 401;
    const UserUpdate = 402;
    const UserDel = 403;
    const UserOne = 404;
    //上级平台
    const getSuperiorPlatformList = 278;//获取上级平台列表
    const addSuperiorPlatform = 279;//添加上级平台
    const modifySuperiorPlatform = 280;//修改上级平台
    const delSuperiorPlatform = 281;//删除上级平台
    //下级平台
    const getLowerPlatformList = 273;//获取上级平台列表
    const addLowerPlatform = 274;//添加上级平台
    const modifyLowerPlatform= 275;//修改上级平台
    const delLowerPlatform = 276;//删除上级平台
    protected $key = null;
    //媒体网关
    const getMediaGatewayList = 305;//获取所有媒体网关
    const addMediaGateway = 306;//添加媒体网关
    const modifyMediaGateway= 307;//修改媒体网关
    const delMediaGateway = 308;//删除媒体网关
    //采集服务
    const getCollectionServiceList = 1408;//获取所有媒体网关
    const addCollectionService = 1409;//添加媒体网关
    const modifyCollectionService = 1411;//修改媒体网关
    const delCollectionService = 1410;//删除媒体网关

    public function __construct()
    {
        $this->key = C('KEY');

    }

    public function getKey()
    {
        return $this->key;
    }
}